#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include "myvector.h"
QT_BEGIN_NAMESPACE
namespace Ui { class Widget; }
QT_END_NAMESPACE

class Widget : public QWidget
{
    Q_OBJECT

public:
    Widget(QWidget *parent = nullptr);
    ~Widget();

    vector<int> extractIntegers(const QString &str);
private slots:
    void on_pushButton_tuichu_clicked();

    void on_pushButton_erfen_clicked();

    void on_pushButton_tanxin_clicked();

    void on_pushButton_qingkong_clicked();

private:
    Ui::Widget *ui;
};
#endif // WIDGET_H
